<%@ page language="java" pageEncoding="UTF-8"%><%

String path = request.getContextPath();
String basePath = new StringBuffer(request.getScheme()).append("://").append(request.getServerName()).
append(":").append(request.getServerPort()).append(path).toString();

//fixed for web app deploy to root server context ; at 2011-04-08 by zhadiw
//如果应用部署的站点根目录，则 path 值为空，导致部分URL跳转失效
if(null== path || "".equals(path)){
	path = basePath;
}

response.sendRedirect(path + "/cas/go.jsp");


%>